<?php

namespace App\Http\Controllers\Admin;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;

class IndexController extends Controller
{
    //index
    public function index(Request $request)
    {
        $title = '后台首页';

        $staff = $request->session()->get('staff');

       	return view('admin.index.index',['title' => $title,'staff'=>$staff]) ;
    }
}
